package org.tong.rabbitmq;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@Configuration
public class RabbitmqConf {

    public static final String msgQueueName = "sprint-boot-queue-msg";

    @Bean
    public Queue createQueueMsg() {
        return new Queue(msgQueueName, true);
    }


}
